Vcenter Compute Policies TagSpec
The Vcenter Compute Policies TagSpec schema contains ways to specify a vSphere tag in a compute policy. When specifying a tag by TagSpec in ObjectSelectorSpec, see Vcenter Compute Policies ObjectSelectorSpec, only one of among the tagId or tagNameSpec must be specified.
This schema was added in vSphere API 9.1.1.0.
{
"tag_id": "string",
"tag_name_spec": {
"category_name": "string",
"tag_name": "string"
}
}
Identifier of a tag.
This property was added in vSphere API 9.1.1.0.
if missing or null, the tag will be identified by name and category instead.
When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.cis.tagging.Tag. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.cis.tagging.Tag.
Tag specified by its name and the name of the category it belongs to.
This property was added in vSphere API 9.1.1.0.
if missing or null, the tag will be identified by its identifier instead.